<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
    <%
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://"
                + request.getServerName() + ":" + request.getServerPort()
                + path + "/";
    %>
    <script src="<%=basePath%>static/jquery/jquery.js"></script>
    <link rel="stylesheet" href="<%=basePath%>static/bootstrap/css/bootstrap.min.css">
    <script type="text/javascript" src="<%=basePath%>static/layui/layui.js"></script>
    <link rel="stylesheet" href="<%=basePath%>static/layui/css/layui.css">
    <script src="<%=basePath%>static/bootstrap/js/bootstrap.min.js"></script>
    <link rel="stylesheet" href="<%=basePath%>common/css/loginPage.css">
    <style type="text/css">
        body{
            background: url("<%=basePath%>static/image/bg.png");
            background-size: cover;
        }
    </style>

</head>
<body>


<script type="text/javascript">
    /*
    * 验证用户名和密码是否为空
    * */


</script>

<div style="height: 150px"></div>
<div class="big">
    <div class="fonts">
        <p>chen|blog</p>

    </div>
    <div class="inner">
        <form action="<%=basePath%>/blog/login" role="form" method="post">
            <div class="form-group in">
                <label class="bt"><b style="color: red">
                    *</b>用户名：</label>
                <input  type="text" name="userName" id="username" required  class="form-control" width="200px" placeholder="username">
                <span id="messageName" style="color: #f1687a;font-family: 华文细黑;font-size: 10px;padding-left: 3px"></span>
            </div>

            <div class="form-group in">
                <label class="bt"><b style="color: red">
                    *</b>密  &nbsp;&nbsp;码：</label>
                <input type="text" name="passWord" id="password"  required class="form-control" placeholder="password" />
                <span style="color: #f1687a;font-family: 华文细黑;font-size: 10px;padding-left: 3px" id="messagePwd" ></span>
            </div>
            <input type="submit" value="登录" class="bg-primary" style="width: 300px; height:35px;color: white;margin-top: 18px;border: none;border-radius: 5px"/>

        </form>
    </div>

</div>
</body>
</html>
